<template>
    <h2>Props</h2>
    <router-link :to="{name: 'father-to-son'}">父组件向子组件传值</router-link>
    <router-link :to="{name: 'son-to-father'}">子组件向父组件传值</router-link>
    <router-link :to="{name: 'brother-to-brother'}">兄弟组件之间传值</router-link>
    <router-view></router-view>
</template>

<script setup>

</script>

<style lang="scss" scoped>

</style>